@import './variables.scss';

.vux-header {
  position: relative !important;
  top: 0;
  width: 100%;
  background-color: white !important;
  box-shadow: 2px 1px 7px #eaeaea;
  z-index: 100;
}

body {
  margin: auto !important;
  position: absolute;
  height: 100vh;
  width: 100%;
  font-family: 'Microsoft Yahei';

  .viewContent {
    // height: 100vh;
  }
}

#app {
  font-family: "PingFang-SC-Regular";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  margin: 0px ;
}

.weui-tabbar__item {
  text-decoration: none
}

.weui-loadmore {
  margin: 0.5em auto 1em auto !important;
}

.yyt-list {
  .yyt-item {
    margin-bottom: 0.16rem;
    background: rgba(246, 246, 246, 1);
  }

  .yyt-item-panl-flx-left-obsolete {
    font-size: 0.2933rem;
    font-weight: 500;
    color: rgba(153, 153, 153, 1);
    text-decoration: line-through
  }

  .yyt-item-panl-flx-left-obsolete-text {
    text-decoration: line-through;
    font-size: 0.2933rem;
    font-weight: 500;
    color: rgba(153, 153, 153, 1);
  }

  .yyt-item-panl-flx-left-now-text {
    font-size: 0.2933rem;
    font-family: PingFang-SC-Medium;
    font-weight: 500;
    color: rgba(153, 153, 153, 1);
  }

  .yyt-item-panl-flx-left-now {
    font-size: 0.4rem;
    font-weight: bold;
    color: rgba(243, 9, 1, 1);
  }
}

.yyt-item-flex {
  display: flex;

  .yyt-item-img {
    padding: 0.2267rem 0 0.2267rem 0.2267rem;

    img {
      width: 2.6667rem;
      height: 2.6667rem;
      // border: 1px dashed #a5a5a5;
    }
  }

  .yyt-item-panl-flx-right-button {
    width: 1.8667rem;
    height: 0.5867rem;
    background: linear-gradient(90deg, rgba(242, 3, 0, 1), rgba(254, 78, 19, 1));
    border-radius: 4px;
    font-size: 0.3467rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 1);
    text-align: center;
    line-height: 0.5867rem;
    box-shadow: 1px 5px 7px #f7a58b;
    padding: 0.0267rem 0;
  }

  .yyt-item-panl-flx-right-but {
    margin-right: 0.3333rem;
  }

  .yyt-item-panl-flx-left {
    flex: 1;
  }

  .yyt-item-panl-flx-right-cu {
    width: 0.9067rem;
    height: 0.2933rem;
    line-height: 0.2933rem;
    background: rgba(241, 73, 20, 1);
    border-radius: 0.0267rem;
    font-size: 0.24rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 1);
    padding: 0.0667rem 00.1067rem 0;
    position: relative;
    top: 0.08rem;
  }
  .yyt-item-panl-flx-right-cate {
    width: 0.9067rem;
    background: rgba(241, 73, 20, 1);
    border-radius: 0.0267rem;
    font-size: 0.24rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 1);
    padding: 0.0667rem 00.1067rem;
    display: inline-table;
    text-align: center;
    position: relative;
    top: 0.08rem;
  }
  .yyt-item-panl-flx-right-home {
    width: 0.9067rem;
    background: rgba(241, 73, 20, 1);
    border-radius: 0.0267rem;
    font-size: 0.24rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 1);
    padding: 0.0667rem 00.1067rem;
    display: inline-table;
    text-align: center;
    margin-left: 0.2rem;
  }
  .yyt-item-panl {
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    padding: 0.4667rem 0 0.4667rem 0.32rem;

    //sss width: calc(100% - 2.9333rem);
    .yyt-item-panl-name {
      font-weight: 500;
      color: #666666;
      font-size: 0.3467rem;
    }

    .yyt-item-panl-centent {
      font-size: 0.3467rem;
      font-weight: 500;
      color: #666666;
      margin-top: 0.1067rem;
    }

    .yyt-item-panl-flx {
      display: flex;
      margin-top: 0.32rem;
    }
  }
}

.vux-slider>.vux-indicator>a>.vux-icon-dot.active,
.vux-slider .vux-indicator-right>a>.vux-icon-dot.active {
  background-color: white !important;
}

.commodity .weui-loadmore_line .weui-loadmore__tips {
  color: 10px;
  top: 0px !important;
}

.vueContent-3 {
  height: calc(100vh - (46px + 1.3333rem));
  overflow: auto;
}

.vux-pop-out-enter-active,
.vux-pop-out-leave-active,
.vux-pop-in-enter-active,
.vux-pop-in-leave-active {
  will-change: transform;
  transition: all 400ms;
  height: 100%;
  width: 100%;

  position: absolute;
  backface-visibility: hidden;
  perspective: 1000;
}

.vux-pop-out-enter {
  opacity: 1;
  transform: translate3d(-100%, 0, 0);
}

.vux-pop-out-leave-active {
  opacity: 1;
  transform: translate3d(100%, 0, 0);
}

.vux-pop-in-enter {
  opacity: 1;
  transform: translate3d(100%, 0, 0);
}

.vux-pop-in-leave-active {
  opacity: 1;
  transform: translate3d(-100%, 0, 0);
}

.menu-title {
  color: #888;
}

.addOrEdit {
  .vux-x-textarea {
    padding: 15px 0px !important;
  }

  .vux-tap-active {
    padding: 0px !important;
    height: 1.3333rem;
    font-size: 0.4rem;
    font-weight: 600;

    .vux-popup-picker-placeholder {
      color: rgba(204, 204, 204, 1) !important;
    }
  }
}

.address-content-btu {
  margin: 0.7733rem 0;

  .address-content-btu-defu {
    background: linear-gradient(90deg,
      rgba(242, 3, 0, 1),
      rgba(254, 78, 19, 1));
    border-radius: 0.08rem;
    margin: 0 1rem;
    height: 1.1733rem;
    line-height: 1.1733rem;
    font-size: 0.4267rem;
    font-weight: normal;
    color: rgba(255, 255, 255, 1);
    text-align: center;
  }
}
.vux-x-img, .b-lazy{
  max-width: initial !important;
}
.vux-popover{
  padding: 10px;
  background-color: #fc4110 !important;
  .vux-popover-arrow{
    border-left: 5px solid #fc4110 !important;
  }
}
.weui-toast.weui-toast_forbidden{
      width: 9.6em !important;
}
.vux-number-selector svg{
  fill: #676767 !important;
}